﻿if exists (select * from sysobjects where id = object_id(N'pBUGLOGTaskDelete') and sysstat & 0xf = 4) drop procedure pBUGLOGTaskDelete 
GO

-- Deletes a record from the [dbo].[Task] table.
CREATE PROCEDURE pBUGLOGTaskDelete
        @pk_TaskID int
AS
BEGIN
    DELETE [dbo].[Task]
    WHERE [TaskID] = @pk_TaskID
END

